<%@ page  import="java.sql.*" contentType="text/html;charset=windows-1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0029)http://www.phrack.org/search/ -->
<HTML><HEAD><TITLE>www.phrack.org</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<%
   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
   String url = "jdbc:odbc:iranhk";
   Connection con = DriverManager.getConnection(url, "iranhk", "iranhk");
 
   PreparedStatement pst=con.prepareStatement(
      "select id,name from tb_category;"
   );
   ResultSet rst=pst.executeQuery();  
%>
<BODY text=#cfcfcf vLink=lightblue aLink=white link=skyblue bgColor=#000000 
leftMargin=0 topMargin=0 border="0" marginright="0" marginheight="0" 
marginwith="0"><BR>
<BR>
<CENTER>
<FORM action="../dispacher/tool search disp.jsp" method=get>
<TABLE cellSpacing=0 cellPadding=1 align=center bgColor=#0000a8 border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE cellSpacing=1 cellPadding=0 width="100%" bgColor=#000044 
        border=0><TBODY>
        <TR>
          <TD bgColor=#000066>
            <TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
              <TBODY>
              <TR>
                <TD align=left><FONT 
                  face=Lucida,Verdana,Helvetica,Arial><B>search</B></FONT></TD></TR></TBODY></TABLE>
        <TR> 
          <TD>
            <TABLE border=0> <!-- begin of input section-->
              <TBODY>
              <TR> <!-- 1111111 -->
                <TD>category:</TD>
                <TD>
                   <select name="CATEGORY" size="1" >
                    <option value=0>ALL CATEGORIES</option>                  
                    <%while (rst.next()){%>
                      <option value=<%=rst.getString("ID")%>>
                        <%=rst.getString("NAME")%>
                      </option>                  
                    <%}%>
                   </select>
                </TD></TR>
              <TR>
                <TD></TD>
                <TD>&nbsp;</TD></TR>
              <TR> <!-- 1111111 -->
                <TD>name:</TD>
                <TD><INPUT size=50 name="NAME" maxlenght="90"></TD></TR>
              <TR>
                <TD></TD>
                <TD>&nbsp;</TD></TR>
              <TR>  <!-- 1111111 -->
                 <TD>subject:</TD>
                <TD><INPUT size=50 name="SUBJECT" maxlenght="90"></TD></TR>
              <TR>
                <TD></TD>
                <TD>&nbsp;</TD></TR>
              <TR> <!-- 1111111 -->
                <TD>author:</TD>
                <TD><INPUT size=50 name="AUTHOR" maxlenght="90"></TD></TR>
              <TR>
                <TD></TD>
                <TD>&nbsp;</TD></TR>
              <TR> <!-- 1111111 -->
                <TD></TD>
                <TD><INPUT type=submit value=submit name=submit></TD></TR>
              </TBODY> <!-- completement of input section-->
            </TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</FORM><BR><BR></CENTER></BODY></HTML>
<%
  rst.close();
  con.close();
%>